import request from "@/common/request.js"
import {code2session_url,trans_no_water_mark_url,question_url,download_video_url,dict_notice_url,notice_url} from "@/common/backend_url.js"

export const code2session = (data,method) => {
  return request(code2session_url, method, data)
}

export const transNoWaterMark = (data,method) => {
  return request(trans_no_water_mark_url, method, data)
}

export const getQuestion = () => {
  return request(question_url, "post", {})
}
export const downloadVideo = (data) => {
  return request(download_video_url, "get", data)
}

export const getDictNotice = () => {
  return request(dict_notice_url, "get", {})
}


export const getNotice = () => {
  return request(notice_url, "get", {})
}